#ifndef HOST_H
#define HOST_H

#include <QString>

class Host
{
public:
    explicit Host(int i, int p, QString hn);
    Host(){}

private:
    /**
     * @brief identifier Integer identifing a host.
     */
    int identifier;

    QString hostName;

    int port;

public:
    int getPort() { return port; }

    int getId() { return identifier; }

    QString getHostName() { return hostName; }

    void setPort(int p) { port = p; }

    void setId(int i){ identifier = i; }

    void setHostName(QString hn) {hostName = hn; }

};

#endif // HOST_H
